<ion-view title="意见列表">  

<ion-content class="has-header">
      
	  <div class="list">
	  
		  <div class="card" ng-repeat="item in items">
			
			<div class="item item-body" style="border:none;">
			  <p class="txtcontent" ng-bind-html="item.content| trustHtml"></p>

			  <p>
			      <a href="#" class="subdued">{{item.username}}</a>
			      <a href="#" class="subdued">{{item.createtime}}</a>
			      <i class="icon ion-chatbox-working" style="font-size:20px;float:right;" ng-click="openPopover($event,item,$index)"></i>
			    </p>

			</div>

          <div class="reply" ng-if="item.replylist.length>0">
            <i class="icon ion-android-arrow-dropup"></i>

            <p ng-repeat="comment in item.replylist"><span class="name">{{comment.username}}:</span>{{comment.content}}</p>

          </div>
		  </div>

	  </div>
<p class="nodata" ng-show="!hasdata">暂无数据~</p>

	  <ion-infinite-scroll  
on-infinite="loadMore()" 
distance="1%" 
ng-if="moreDataCanBeLoaded()">
</ion-infinite-scroll>

</ion-content>
</ion-view>